import request from '@/utils/request'

export function sitgetDetail(parameter) {
  return request({
    url: '/SiteDangerOperateApplyRecordNew/GetDetail',
    method: 'get',
    params: parameter
  })
}

export function sitInitNewEntity(parameter) {
    return request({
        // GET /api/SiteDangerOperateApplyRecordNew/InitEntity
      url: '/SiteDangerOperateApplyRecordNew/InitEntity',
      method: 'get',
      params: parameter
    })
  }

  export function Editsumit(data) {
    return request({
      url: '/SiteDangerOperateApplyRecordNew/Edit',
      method: 'post',
      data
    })
  }

  export function UploadSubmit(data) {
    return request({
      url: '/SiteDangerOperateApplyRecordNew/UploadPost',
      method: 'post',
      data
    })
  }